//
//  RTCManager.h
//  GLUZ
//
//  Created by GS on 2025/2/11.
//
#import <Foundation/Foundation.h>
#import <ZegoExpressEngine/ZegoExpressEngine.h>
#import "IMRecognizeModel.h"
#import "RTManager.h"

NS_ASSUME_NONNULL_BEGIN
typedef void (^realtimeTranslationMessage)(IMRecognizeModel *model);
@interface RTCManager : NSObject
+ (RTCManager *)shared;
/// 初始化实时传译
- (void)startRealtimeTranslationLang;
- (void)startRealtimeTranslationLang:(NSString *)lang targetLang:(NSString *)targetLang;
/// 停止翻译
- (void)stopRealtimeTranslation;
/// 开始音频采集
- (void)startAudioDataObserver;
/// 停止音频采集
- (void)stopAudioDataObserver;

/// 处理翻译消息
- (void)translationMessageWith:(NSString *)jsongStr;
/// 翻译消息
@property (nonatomic, copy) realtimeTranslationMessage realtimeTranslationMessage;


@end

NS_ASSUME_NONNULL_END
